package cn.pupil.springframework.context;

import java.util.EventListener;

/**
 * @Description: 应用监听器
 * @Author: pupil
 * @Date: 2024/11/13 上午 11:55
 */
public interface ApplicationListener<E extends ApplicationEvent> extends EventListener {

    /**
     * Handle an application event.
     * 处理应用事件
     *
     * @param event the event to respond to
     */
    void onApplicationEvent(E event);
}
